<table id="heedcoupon_table" ref="HeedCoupon" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">编号
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"merchant")||fields=="*"||(!fields && true)}}' tdid="2" ref="merchant"   title="所属品牌">所属品牌
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"commodity")||fields=="*"||(!fields && false)}}' tdid="3" ref="commodity"   title="商品信息">商品信息
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"discount")||fields=="*"||(!fields && true)}}' tdid="4" ref="discount"   title="折扣">折扣
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"expiryDate")||fields=="*"||(!fields && true)}}' tdid="5" ref="expiryDate"   title="有效期">有效期
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"sum")||fields=="*"||(!fields && true)}}' tdid="6" ref="sum"   title="投放数量">投放数量
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"getcount")||fields=="*"||(!fields && true)}}' tdid="7" ref="getcount"   title="已领数量">已领数量
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"usageRule")||fields=="*"||(!fields && true)}}' tdid="8" ref="usageRule"   title="使用规则">使用规则
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"img")||fields=="*"||(!fields && true)}}' tdid="9" ref="img"   title="领取页图片">领取页图片
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"qrCode")||fields=="*"||(!fields && true)}}' tdid="10" ref="qrCode"   title="公众号二维码">公众号二维码
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"accessCode")||fields=="*"||(!fields && true)}}' tdid="11" ref="accessCode"   title="公众号菜单地址">公众号菜单地址
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"putIn")||fields=="*"||(!fields && true)}}' tdid="12" ref="putIn"   title="是否投放">是否投放
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' tdid="13" ref="updateTime"   title="修改时间">修改时间
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' tdid="14" ref="addTime"   title="添加时间">添加时间
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' tdid="15" ref="status"   title="状态">状态
			 </td>
			<td  width="105"  class="operation" tdid="16" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
			 
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.id$ || item.id}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"merchant")||fields=="*"||(!fields && true)}}' ref="merchant" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.merchant}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/business/merchant.edit.html?key={{item.merchant}}')" href="javascript:void(0);">
					 	{{item.merchant$ || item.merchant}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"commodity")||fields=="*"||(!fields && false)}}' ref="commodity" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.commodity}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/goods/commodity.edit.html?key={{item.commodity}}')" href="javascript:void(0);">
					 	{{item.commodity$ || item.commodity}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"discount")||fields=="*"||(!fields && true)}}' ref="discount" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.discount$ || item.discount}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"expiryDate")||fields=="*"||(!fields && true)}}' ref="expiryDate" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.expiryDate$ || item.expiryDate}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"sum")||fields=="*"||(!fields && true)}}' ref="sum" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.sum$ || item.sum}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"getcount")||fields=="*"||(!fields && true)}}' ref="getcount" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.getcount$ || item.getcount}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"usageRule")||fields=="*"||(!fields && true)}}' ref="usageRule" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.usageRule$ || item.usageRule}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"img")||fields=="*"||(!fields && true)}}' ref="img" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.img$ || item.img}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"qrCode")||fields=="*"||(!fields && true)}}' ref="qrCode" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.qrCode$ || item.qrCode}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"accessCode")||fields=="*"||(!fields && true)}}' ref="accessCode" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.accessCode$ || item.accessCode}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"putIn")||fields=="*"||(!fields && true)}}' ref="putIn" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.putIn$ || item.putIn}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' ref="updateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.updateTime$ || item.updateTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' ref="addTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.addTime$ || item.addTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' ref="status" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.status$ || item.status}}
				</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/coupons/heedcoupon.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/coupons/heedcoupon.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>